﻿@model iChip.Hotspots.Models.Field
<div class="form-body">
    <div class="form-group">
        @Html.Label("Field Name", new { @class = "col-md-3 control-label" })
        <div class="col-md-4">
            @Html.TextBoxFor(m => m.Field_Name, new { placeholder = "Field Name", @class = "form-control" })
        </div>
    </div>
    <div class="form-group">
        @Html.Label("Field Type", new { @class = "col-md-3 control-label" })
        <div class="col-md-4">
            @Html.DropDownListFor(m => m.Field_Type, new SelectList(Model.Field_Type, "Value", "Text"), new { @class = "form-control" })
            @*@Html.TextBoxFor(m => m.Field_Type, new { placeholder = "Field Type", @class = "form-control" })*@
        </div>
    </div>
    <div class="form-group">
        @Html.Label("Is Multi", new { @class = "control-label col-md-3" })
        <div class="col-md-4">
            <div class="checkbox">
                <label>
                    @Html.CheckBoxFor(m => m.Field_IsRequire)
                </label>
            </div>
        </div>
        <div class="col-md-4">
            <input type="button" value="Remove" class="btn red" onclick="DelField(this)" />
        </div>
    </div>
</div>
